﻿// News Framework
// (C) Tanzim Saqib. Oct 25, 2010.
// http://TanzimSaqib.com | http://newsfx.codeplex.com

namespace TanzimSaqib.NewsFramework
{
    using System.Windows;
    using System.Windows.Controls;

    public partial class MainPanorama : UserControl
    {
        public MainPanorama()
        {
            InitializeComponent();
        }

        private void listCategories_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            //CategoryViewModel.HandleSelection(sender, e);
        }

        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            //listCategories.DataContext = App.ViewModelCategory;
            //listSaved.DataContext = new RssListViewModel((from i in FeedData.RSSItems select i.Value).ToList());
        }

        private void listSaved_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            //if (listSaved.SelectedIndex > -1)
            //{
            //    Navigation.GoToPageInAssembly(FxConstants.LocalNamespace, "/Pages/RssView.xaml?saved={0}".FormatWith((listSaved.SelectedItem as ItemViewModel).LineThree));
            //}
        }
    }
}
